package com.ww.algorithm.question.list.reverse;

public class LNode<T> {

    /**
     * 数据域
     */
    private T data;

    /**
     * 后继
     */
    private LNode next;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public LNode getNext() {
        return next;
    }

    public void setNext(LNode next) {
        this.next = next;
    }
}
